//
//  CacheDaoForCircleContent.h
//  GolfFriend
//
//  Created by Vescky on 13-12-13.
//  Copyright (c) 2013年 vescky.org. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseDao.h"
#import "DB.h"
#import "CircleContentVO.h"

@interface CacheDaoForCircleContent : BaseDao {
    
}

+ (id)shareCacheDaoForCircleContent;
//更新单个
- (bool)updateCacheDataWithCircleContent:(CircleContentVO*)cVo;

//删除单个
- (bool)deleteArticleContent:(CircleContentVO*)cVo;

//更新一个数组
- (bool)updateCacheDataWithCircleContentArray:(NSArray*)cVoArray;
//获取一个数组
- (NSMutableArray*)getCacheDataLimitRow:(NSRange)limitRange;

//获取某个用户发表过的文章
- (NSMutableArray*)getArticlesPublishedByUser:(NSString*)userId range:(NSRange)limitRange;

//获取单个
- (CircleContentVO*)getCacheDataWithArticleId:(NSString*)rId;
//清除缓存
- (bool)cleanupCache;

@end
